package com.biz.primus.ms.commodity.dao.repository.product;

import com.biz.primus.ms.base.jpa.repository.CommonJpaRepository;
import com.biz.primus.ms.commodity.dao.po.CommoditySpec;

public interface CommoditySpecRepository extends CommonJpaRepository<CommoditySpec, Long>, CommoditySepcDao {

    CommoditySpec findByProductCodeAndPackageId(String productCode, Integer packageId);

    CommoditySpec findByBarCode(String barCode);
}
